package com.demo.domain;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="b_notify")
public class Notify {

	@Id
	private String id;
	@Column(name="user_id")
	private String userId;
	@Column(name="title")
	private String title;
	@Column(name="content")
	private String content;
	@Column(name="redirect_type")
	private Integer redirectType;
	@Column(name="redirect_content")
	private String redirectContent;
	@Column(name="state")
	private Integer state;
	@Column(name="num")
	private Integer num;
	@Column(name="show_index")
	private Integer showIndex;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public String getTitle(){
		return title;
	}
	public void setTitle(String title){
		this.title = title;
	}
	public String getContent(){
		return content;
	}
	public void setContent(String content){
		this.content = content;
	}
	public Integer getRedirectType(){
		return redirectType;
	}
	public void setRedirectType(Integer redirectType){
		this.redirectType = redirectType;
	}
	public String getRedirectContent(){
		return redirectContent;
	}
	public void setRedirectContent(String redirectContent){
		this.redirectContent = redirectContent;
	}
	public Integer getState(){
		return state;
	}
	public void setState(Integer state){
		this.state = state;
	}
	public Integer getNum(){
		return num;
	}
	public void setNum(Integer num){
		this.num = num;
	}
	public Integer getShowIndex(){
		return showIndex;
	}
	public void setShowIndex(Integer showIndex){
		this.showIndex = showIndex;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
